package ly.sjun.design.factory_pattern.food;

import ly.sjun.design.factory_pattern.Food;

/**
 * @ClassName: Apple
 * @Author: ly
 * @Date: 2023/1/4-9:32
 * @Description TODO
 **/
public class Apple implements Food {


    @Override
    public Float getSweetness() {
        return 0.4f;
    }

    @Override
    public String getName() {
        return "苹果";
    }
}
